libfdt: Add max phandle retrieval function
authorMaxime Ripard <[email protected]>
Tue, 5 Jul 2016 08:26:39 +0000 (10:26 +0200)
committerTom Rini <[email protected]>
Sat, 20 Aug 2016 15:35:01 +0000 (11:35 -0400)
commit57c7809ab0452bb9dc29c383fe64b651c911e1d2
tree15dad694f7902a38ac4f1f8fd979acece6f58e86
parent67e610d9f0e9262cfa742f8a78c089b3cab9659a
libfdt: Add max phandle retrieval function

Add a function to retrieve the highest phandle in a given device tree.

Signed-off-by: Maxime Ripard <[email protected]>
Reviewed-by: Stefan Agner <[email protected]>
Acked-by: Simon Glass <[email protected]>
include/libfdt.h
lib/libfdt/fdt_ro.c